<template>
  <div>
    <div id="map" class="map"></div>
    <form class="form-inline">
      <label for="type">11Shape type: &nbsp;</label>
      <select class="form-control mr-2 mb-2 mt-2" id="type">
        <option value="Circle">Circle</option>
        <option value="Square">Square</option>
        <option value="Box">Box</option>
        <option value="Star">Star</option>
        <option value="None">None</option>
      </select>
      <input class="form-control mr-2 mb-2 mt-2" type="button" value="Undo" id="undo">
    </form>
  </div>

</template>

<!-- vue不能通过script引入js
 <script src="demo3.js"></script>
-->

<script>
import Demo3Js from './Demo3.js'
export default {
  mounted () {
    Demo3Js.init();
  }
}
</script>

<!-- vue的script只被初始化一次
<script>
alert("1")
</script>
-->

<style lang="less" scoped>
</style>